﻿@using Super.Common.Validate
@using Super.DomainService
@using Super.Infrastructure
@model ProductCategory
@{
    ViewBag.Title = "添加产品分类";
}
@using (Html.AjaxBeginForm("edit", "productcategory"))
{
    <div class="pageFormContent" layouth="56">
        @Html.HiddenFor(a=>a.ID)
        @Html.DWZTextBoxFor(a => a.Name, "分类名称").Required()
        @Html.DWZTextBoxFor(a => a.Unit, "单位").Required()
        @Html.DWZTextBoxFor(a => a.MaxCount, "数量上上限").Required().Number()
        @Html.DWZTextBoxFor(a => a.MinCount, "数量下限").Required().Number()
        @Html.DWZTextBoxFor(a => a.Sort, "排序").Required().Number()
        @Html.DWZTextBoxFor(a => a.ReMark, "备注")
    </div>
    @Html.DWZFormBar()
}
